package com.fht.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-31 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="statement_manage" )
public class StatementManage  implements Serializable {

	private static final long serialVersionUID =  5791815659188679220L;

	/**
	 * 店铺ID
	 */
   	@Column(name = "merchants_id" )
	private Integer merchantsId;

	/**
	 * 日期
	 */
   	@Column(name = "created" )
	private String created;

	/**
	 * 销售额
	 */
   	@Column(name = "sale_total" )
	private Integer saleTotal;

   	@Transient
	private String saleTotalString;

	/**
	 * 退单额
	 */
   	@Column(name = "chargeback_total" )
	private Integer chargebackTotal;

   	@Transient
	private String chargebackTotalString;

	/**
	 * 收入
	 */
   	@Column(name = "income_total" )
	private Integer incomeTotal;

   	@Transient
	private String incomeTotalString;

	/**
	 * 现金
	 */
   	@Column(name = "cash" )
	private Integer cash;

   	@Transient
	private String cashString;

	/**
	 * 微信
	 */
   	@Column(name = "WeChat" )
	private Integer weChat;

   	@Transient
	private String weChatString;

	/**
	 * 支付宝
	 */
   	@Column(name = "Alipay" )
	private Integer alipay;

   	@Transient
	private String alipayString;

	/**
	 * 银行卡
	 */
   	@Column(name = "bank_card" )
	private Integer bankCard;

   	@Transient
	private String bankCardString;

	/**
	 * 美团外卖
	 */
   	@Column(name = "Meituan" )
	private Integer meituan;

   	@Transient
	private String meituanString;

	/**
	 * 饿了么
	 */
   	@Column(name = "Eleme" )
	private Integer eleme;

   	@Transient
	private String elemeString;

	/**
	 * 收银员
	 */
   	@Column(name = "cashier_num" )
	private Integer cashierNum;

	/**
	 * 会员
	 */
   	@Column(name = "member_num" )
	private Integer memberNum;

	/**
	 * 客单量
	 */
   	@Column(name = "guest_orders_num" )
	private Integer guestOrdersNum;

}
